﻿using AutoMapper;

namespace MyExtension.AutoMapper
{
    public class AutoMapperConfig
    {
        public static MapperConfiguration RegisterMappers()
        {
            return new MapperConfiguration(cfg => { 
                cfg.AddProfile(new CustomProfile()); 
            });
        }
    }
}
